package com.hdj.chapter4;

import java.util.List;
import java.util.Map;

/**
 * @description
 * @auther hdj
 * @date 2017/12/12.
 */
public class Order {
    private String code;
    private List<String> offers;
    private Map<String,Object> features;

    public static Builder build(){
        return new Builder();
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<String> getOffers() {
        return offers;
    }

    public void setOffers(List<String> offers) {
        this.offers = offers;
    }

    public Map<String, Object> getFeatures() {
        return features;
    }

    public void setFeatures(Map<String, Object> features) {
        this.features = features;
    }

    @Override
    public String toString() {
        return "Order{" +
                "code='" + code + '\'' +
                ", offers=" + offers +
                ", features=" + features +
                '}';
    }
}
